﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using ZhonTai.Admin.Core.Entities;

namespace ZhonTai.Admin.Domain.Patrol
{
    /// <summary>
    /// 表单
    /// </summary>
    [Table(Name = "patrol_form")]
    public class FormEntity : EntityTenant
    {
        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { set; get; }

        /// <summary>
        /// 表单代码
        /// </summary>
        public string FormCode { set; get; }


        public LabelPosition LabelPosition { set; get; }

        public int LabelWidth { set; get; }

        public string Size { set; get; }

        public string CustonClass { set; get; }

        public int Cols { set; get; }


        #region 导航属性
        public virtual ICollection<FormItemEntity> Controls { set; get; }
        #endregion
    }
}
